<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link rel="stylesheet" href="./main.css">
</head>

<body>
  <div class="wrapper">
    <h1>Checkbox Rocker Toggle Switch </h1>
    <div class="mid">
      <label class="rocker">
        <input type="checkbox" checked>
        <span class="switch-left">On</span>
        <span class="switch-right">Off</span>
      </label>
    </div>
    <div class="mid">
      <label class="rocker rocker-small">
        <input type="checkbox">
        <span class="switch-left">Yes</span>
        <span class="switch-right">No</span>
      </label>
      <label class="rocker rocker-small">
        <input type="checkbox">
        <span class="switch-left">Yes</span>
        <span class="switch-right">No</span>
      </label>
    </div>
  </div>
  <a href="https://codepen.io/marcusconnor/pen/QJNvMa" class="source">Source</a>
</body>

</html>